WooCommerce\Square\API A

Total Complexity 60
Dependencies 24
Dependents 1
Total lines 859
Lines of code 301
Logical lines of code 175
Comment lines 356
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
create_image()
A
40 8 60
do_square_request()
A
54 8 19
do_post_parse_response_validation()
S
51 7 26
perform_request()
S
54 4 21
get_new_request()
S
58 3 16
adjust_inventory()
S
54 1 23
__construct()
S
67 2 8
get_inventory_request()
S
80 1 3
batch_retrieve_inventory_counts()
S
73 1 5
get_customers()
S
70 1 6
get_locations()
S
68 1 7
retrieve_inventory_physical_count()
S
73 1 5
handle_response()
S
69 1 7
retrieve_inventory_count()
S
72 1 5
retrieve_inventory_changes()
S
73 1 5
retrieve_inventory_adjustment()
S
73 1 5
get_catalog_request()
S
80 1 3
batch_change_inventory()
S
72 1 5
batch_retrieve_inventory_changes()
S
73 1 5
batch_delete_catalog_objects()
S
73 1 5
remove_inventory()
S
78 1 3
add_inventory()
S
78 1 3
add_inventory_from_refund()
S
79 1 3
upsert_catalog_object()
S
72 1 5
update_item_taxes()
S
72 1 5
update_item_modifier_lists()
S
72 1 5
search_catalog_objects()
S
73 1 5
retrieve_catalog_object()
S
72 1 5
list_catalog()
S
72 1 5
delete_catalog_object()
S
73 1 5
catalog_info()
S
73 1 5
batch_upsert_catalog_objects()
S
72 1 5
batch_retrieve_catalog_objects()
S
72 1 5
get_plugin()
S
81 1 3